<?php
/*
 * Task基类
 */
declare(strict_types=1);

namespace Libraries\Bases;

use Swoole\Server\Task;

abstract class TaskBase
{
    protected $objTask = null;

    /**
     * 构造函数
     * @param Task|null $objTask
     */
    public function __construct(?Task $objTask = null)
    {
        $this->objTask = $objTask;
    }
}
